//
//  LHDBManager.h
//  EPA
//
//  Created by 卢浩 on 16/4/26.
//  Copyright © 2016年 卢浩. All rights reserved.
//

#import <Foundation/Foundation.h>
@class LHReadListModel;

@interface LHDBManager : NSObject

//单例
+ (instancetype)shareManager;

//打开数据库
- (void)openDB;

//关闭数据库
- (void)closeDB;

//添加阅读收藏
- (BOOL)InsertReadCollectWithReadListModel:(LHReadListModel *)model HtmlStr:(NSString *)htmlStr;

//删除阅读收藏
- (BOOL)DeleteReadCollectWithContentID:(NSString *)contentID;

//获取收藏的所有阅读的ID
- (NSArray *)selectAllReadCollectContentID;

//获取收藏的所有阅读内容
- (NSArray *)selectAllReadCollect;

@end
